package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyCommend;
import cn.wolfcode.luowowo.common.query.StrategyCommendQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyCommendService {
    /**
     * 查询列表
     * @param qo
     * @return
     */
    PageInfo query(StrategyCommendQueryObject qo);

    void deleteById(Long id);

    void saveOrUpdate(StrategyCommend strategyCommend);

    List<StrategyCommend> selectAllCommends();

    List<StrategyCommend> selectCommendsTop5();

}
